package com.woniu.sale.entity;

import java.io.Serializable;

/**
 * Pur_RequestOrderDetail
 * @author 
 */
public class PurRequestorderdetailKey implements Serializable {
    private String orderno;

    private Integer orderlno;

    private static final long serialVersionUID = 1L;

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public Integer getOrderlno() {
        return orderlno;
    }

    public void setOrderlno(Integer orderlno) {
        this.orderlno = orderlno;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PurRequestorderdetailKey other = (PurRequestorderdetailKey) that;
        return (this.getOrderno() == null ? other.getOrderno() == null : this.getOrderno().equals(other.getOrderno()))
            && (this.getOrderlno() == null ? other.getOrderlno() == null : this.getOrderlno().equals(other.getOrderlno()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOrderno() == null) ? 0 : getOrderno().hashCode());
        result = prime * result + ((getOrderlno() == null) ? 0 : getOrderlno().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderno=").append(orderno);
        sb.append(", orderlno=").append(orderlno);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}